* {
    margin: 0;
    box-sizing: border-box;
}
.message-box {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2000;
    height: 100%;
    background-color: #00000080;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #303133;
    font-family: Inter, Roboto, Oxygen, "Fira Sans", "Helvetica Neue", sans-serif;
}
.message-box .message {
    width: 420px;
    background-color: #fff;
    padding-bottom: 10px;
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid #ebeef5;
    font-size: 18px;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, .1);
    text-align: left;
    overflow: hidden;
    backface-visibility: hidden;
}
.message-box .header {
    position: relative;
    padding: 15px;
    padding-bottom: 10px;
}
.message-box .header .title {
    line-height: 1;
}
.message-box .header button {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    cursor: pointer;
    color: #909399;
    height: 1em;
    width: 1em;
    line-height: 1.15;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    fill: currentColor;
}
.message-box .header button:hover {
    color: var(--color-primary);
}
.message-box .header > button > svg {
    width: 1em;
    height: 1em;
    vertical-align: middle;
}
.message-box .content {
    padding: 10px 15px;
    color: #606266;
    font-size: 14px;
    line-height: 24px;
}
.message-box .footer {
    padding: 5px 15px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}
.message-box .footer button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
    height: 32px;
    white-space: nowrap;
    cursor: pointer;
    background-color: var(--color-primary);
    border: 1px solid #dcdfe6;
    border-color: var(--color-primary);
    color: #fff;
    transition: .1s;
    padding: 8px 15px;
    font-size: 14px;
    border-radius: 4px;
}
.message-box .footer button:hover {
    background-color: #66b1ff;
    border-color: #66b1ff;
}